package com.pmsystem.util;

import java.util.List;

public class TableResponse {
	private Integer code;
	private String msg;
	private Long count;
	private List data;

	public TableResponse(Integer code, String msg, Long count, List data) {
		super();
		this.code = code;
		this.msg = msg;
		this.count = count;
		this.data = data;
	}

	public TableResponse(String msg,List data) {
		this.code = 0;//默认0成功 
		this.msg = msg;
		this.data = data;
	}
	
	public TableResponse() {
		super();
		// TODO Auto-generated constructor stub
	}

	public Integer getCode() {
		return code;
	}

	public void setCode(Integer code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public Long getCount() {
		return count;
	}

	public void setCount(Long count) {
		this.count = count;
	}

	public List getData() {
		return data;
	}

	public void setData(List data) {
		this.data = data;
	}

}
